package com.ka.creator;

import java.util.ArrayList;
import java.util.List;

import com.ka.model.GeneralModel;
import com.ka.model.MenuLeftModel;

import android.content.Context;

public class CreatorMenuLeft extends Creator {

	public CreatorMenuLeft(Context context) {
		super(context);
	}

	@Override
	public List<GeneralModel> createList(String[] str) {

		List<GeneralModel> lmodel = new ArrayList<GeneralModel>();

		for (int i = 0; i < str.length; i++) {
			MenuLeftModel model = new MenuLeftModel();
			model.setId(i);
			model.setTitle(str[i]);

			lmodel.add(model);
		}

		return lmodel;
	}

}
